package cn.afterturn.easypoi.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public class LinedCheckBoxEntity {

    private static final String CHECK = "R";
    private static final String UN_CHECK = "0";
    private static final String FONT = "Wingdings 2";

    private final String richText;
    private final int[] fontIndex;

    public String getFontName() {
        return FONT;
    }

    public static String getCheckedText(boolean check) {
        return check ? CHECK : UN_CHECK;
    }
}
